package com.foreverwin.mes.lims.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.plugins.Page;
import com.foreverwin.mes.lims.model.CommandReview;
import com.baomidou.mybatisplus.service.IService;
import com.foreverwin.mes.core.base.FrontPage;

import java.util.List;

/**
 * <p>
 * 复机审核 服务类
 * </p>
 *
 * @author Max
 * @since 2020-02-28
 */
public interface CommandReviewService extends IService<CommandReview> {

    /**
     *  分页查询
     * @param frontPage
     * @return
     */
    Page<CommandReview> selectPage(FrontPage<CommandReview> frontPage, CommandReview commandReview);

    List<CommandReview> selectList(CommandReview commandReview);
    /**
     * 保存复机审核结果
     */
    int saveReSetReviewResult ( List<CommandReview> commandReviewList );
    /**
     * 查询待审核的复机指令
     */
    List<CommandReview> selectReviewCommand (CommandReview commandReview);
}